<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleDataLayerWebServiceProxyid" scope="session" class="be.artesis.titamo.webservice.DataLayerWebServiceProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleDataLayerWebServiceProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleDataLayerWebServiceProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleDataLayerWebServiceProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        be.artesis.titamo.webservice.DataLayerWebService getDataLayerWebService10mtemp = sampleDataLayerWebServiceProxyid.getDataLayerWebService();
if(getDataLayerWebService10mtemp == null){
%>
<%=getDataLayerWebService10mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
</TABLE>
<%
}
break;
case 15:
        gotMethod = true;
        be.artesis.titamo.io.TimeTableEntry[] getErrors15mtemp = sampleDataLayerWebServiceProxyid.getErrors();
if(getErrors15mtemp == null){
%>
<%=getErrors15mtemp %>
<%
}else{
        String tempreturnp16 = null;
        if(getErrors15mtemp != null){
        java.util.List listreturnp16= java.util.Arrays.asList(getErrors15mtemp);
        tempreturnp16 = listreturnp16.toString();
        }
        %>
        <%=tempreturnp16%>
        <%
}
break;
case 18:
        gotMethod = true;
        String docent_1id=  request.getParameter("docent21");
            java.lang.String docent_1idTemp = null;
        if(!docent_1id.equals("")){
         docent_1idTemp  = docent_1id;
        }
        String dag_2id=  request.getParameter("dag23");
            java.lang.String dag_2idTemp = null;
        if(!dag_2id.equals("")){
         dag_2idTemp  = dag_2id;
        }
        be.artesis.titamo.io.TimeTableEntry[] getRecordsByDocent18mtemp = sampleDataLayerWebServiceProxyid.getRecordsByDocent(docent_1idTemp,dag_2idTemp);
if(getRecordsByDocent18mtemp == null){
%>
<%=getRecordsByDocent18mtemp %>
<%
}else{
        String tempreturnp19 = null;
        if(getRecordsByDocent18mtemp != null){
        java.util.List listreturnp19= java.util.Arrays.asList(getRecordsByDocent18mtemp);
        tempreturnp19 = listreturnp19.toString();
        }
        %>
        <%=tempreturnp19%>
        <%
}
break;
case 25:
        gotMethod = true;
        String klas_3id=  request.getParameter("klas28");
            java.lang.String klas_3idTemp = null;
        if(!klas_3id.equals("")){
         klas_3idTemp  = klas_3id;
        }
        String dag_4id=  request.getParameter("dag30");
            java.lang.String dag_4idTemp = null;
        if(!dag_4id.equals("")){
         dag_4idTemp  = dag_4id;
        }
        be.artesis.titamo.io.TimeTableEntry[] getRecordsByKlas25mtemp = sampleDataLayerWebServiceProxyid.getRecordsByKlas(klas_3idTemp,dag_4idTemp);
if(getRecordsByKlas25mtemp == null){
%>
<%=getRecordsByKlas25mtemp %>
<%
}else{
        String tempreturnp26 = null;
        if(getRecordsByKlas25mtemp != null){
        java.util.List listreturnp26= java.util.Arrays.asList(getRecordsByKlas25mtemp);
        tempreturnp26 = listreturnp26.toString();
        }
        %>
        <%=tempreturnp26%>
        <%
}
break;
case 32:
        gotMethod = true;
        String vak_5id=  request.getParameter("vak35");
            java.lang.String vak_5idTemp = null;
        if(!vak_5id.equals("")){
         vak_5idTemp  = vak_5id;
        }
        String dag_6id=  request.getParameter("dag37");
            java.lang.String dag_6idTemp = null;
        if(!dag_6id.equals("")){
         dag_6idTemp  = dag_6id;
        }
        be.artesis.titamo.io.TimeTableEntry[] getRecordsByVak32mtemp = sampleDataLayerWebServiceProxyid.getRecordsByVak(vak_5idTemp,dag_6idTemp);
if(getRecordsByVak32mtemp == null){
%>
<%=getRecordsByVak32mtemp %>
<%
}else{
        String tempreturnp33 = null;
        if(getRecordsByVak32mtemp != null){
        java.util.List listreturnp33= java.util.Arrays.asList(getRecordsByVak32mtemp);
        tempreturnp33 = listreturnp33.toString();
        }
        %>
        <%=tempreturnp33%>
        <%
}
break;
}
} catch (Exception e) { 
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>